import cv2
import numpy as np
img=cv2.imread("1.png")
img_resized=cv2.resize(img,(400,550))
m=np.ones(img_resized.shape,dtype="uint8")*100
result=cv2.add(img_resized,m)
cv2.imshow("yuantu",img_resized)
cv2.imshow("jiayunsuanhou",result)
cv2.waitKey(0)
cv2.destroyAllWindows()